home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6378 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  48 lines

  1. Path: news.iadfw.net!usenet
  2. From: alpet@airmail.net (Adam Peterson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: I need basic help
  5. Date: Sat, 24 Feb 1996 07:51:36 GMT
  6. Organization: customer of Internet America
  7. Message-ID: <4gm95r$c3p@news-f.iadfw.net>
  8. References: <4glfaa$gvn@hasle.sn.no>
  9. NNTP-Posting-Host: dal19-06.ppp.iadfw.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. sloken@oslonett.no (Syver L°ken) wrote:
  13.  
  14. >#include<iostream.h>
  15.  
  16. >int main ()
  17. >{
  18. >cout << " this is a test test ";
  19. >return (0);
  20. > }
  21.  
  22. >when this simple program is linked ( compiling works ) I get the
  23. >following error :
  24.  
  25. >Linking test.exe:
  26. >Linker Warning: No module definition file specified: using defaults
  27.  
  28.  
  29. >Linker Error: Undefined symbol OwlMain(int,char far*far*) in library
  30. >file \BC4\LIB\owlwi.lib in module winmain
  31. >As you understand , I use Borland and there's obviously something
  32. >wrong with linking options or libraries , i just can't figure out
  33. >what!
  34.  
  35. I haven't used Borland in a while, but your are obviously using their
  36. 'dos-program-in-a-windows' thing (easywin? don't remember what they
  37. called it).  That's what your first warning is--since it is a dos
  38. program, you haven't defined the module definition file.   Is not that
  39. important in the sample.  The second error looks to me like you are
  40. tryin to link in and use OWL..  I would look at the project options
  41. and see if you have the OWL flag on somewhere.
  42.  
  43. Adam
  44.  
  45.  
  46.  
  47.